﻿namespace aob.sample

import System
import System.Collections

import Aob.Dsl

class Player:
	def Update():
		n = Network()
		n.Send("Hello world !!!!!")

class Network:
	def Send(message as string) as int:
		print "sending", message
		return len(message)

aspect Debug:
	pointcut Network.Send:
		advice message as string:
			print "advice", invocation.Name
			
p = Player()
p.Update()
prompt("press enter")
